<div class="row">
    <div class="col-lg-12">
        <h1>Gestion des pages</h1>
        <hr>
        <p>Cette page est destiné à la gestion des pages (modification de contenu etc..).</p>
        <p>
            <a href="<?php echo $this->url('page', array('action'=>'add'));?>">Ajouter une page</a>
        </p>

        <table class="table table-striped table-bordered">
            <tr>
                <th class="text-center">Titre</th>
                <th class="text-center">Contenu</th>
                <th>&nbsp;</th>
            </tr>
            <?php foreach ($pages as $page) : ?>
                <tr>
                    <td><?php echo $this->escapeHtml($page->nom);?></td>
                    <td><?php echo $this->escapeHtml($page->contenu);?></td>
                    <td>
                        <a href="<?php echo $this->url('page',
                            array('action'=>'edit', 'id' => $page->id));?>">Editer</a>
                        <a href="<?php echo $this->url('page',
                            array('action'=>'delete', 'id' => $page->id));?>">Supprimer</a>
                    </td>
                </tr>
            <?php endforeach; ?>
        </table>
    </div>
</div><!-- /.row -->


